package com.bfsoft.springbootinit.config.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class UserDetail {

    private String id;

    @Schema (name = "用户名")
    private String userName;

    @Schema(name = "账号")
    private String userAccountName;

    @Schema(name = "基地id")
    private String baseId;

    @Schema(name = "公司id")
    private String companyId;

    @Schema(name = "基地名称")
    private String baseName;

    @Schema(name = "公司名称")
    private String companyName;

    @Schema(name = "是否可操作")
    private String isOperate;

    @Schema(name = "角色id")
    private List<String> roleIds;

    @Schema(name = "权限id")
    private List<String> functionIds;

}
